package com.spring.cold.pojo;

import java.io.Serializable;
import java.util.HashMap;

/**
 * @author jy
 * @date 2020-10-18
 */
public class BaseEntity implements Serializable {
    private Integer page;
    private Integer limit;

    public BaseEntity(){
        this.page = 1;
        this.limit = 10;
    }

    public BaseEntity(Integer limit){
        this.page = 1;
        this.limit = limit;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
